Mollie\WooCommerce\Payment\MollieObject D

Total Complexity 156
Dependencies 10
Dependents 5
Total lines 833
Lines of code 450
Logical lines of code 282
Comment lines 295
Methods 55
Properties 13

Methods 55

Method Rating Maintainability Complexity Lines of code
createBillingAddress()
A
55 11 16
failedSubscriptionProcess()
A
51 10 22
setActiveMolliePaymentForSubscriptions()
A
49 9 31
getPaymentDescription()
A
49 9 30
createShippingAddress()
A
57 10 13
addMandateIdMetaToFirstPaymentSubscriptionOrder()
A
52 9 22
asciiDomainName()
S
57 7 15
checkBillieCompanyField()
S
58 6 15
getActiveMolliePayment()
S
57 4 16
maximalFieldLengths()
S
63 5 10
addSequenceTypeForSubscriptionsFirstPayments()
S
62 5 10
idnEncodeDomain()
S
65 5 8
getFormatedPhoneNumber()
S
63 4 11
unsetActiveMolliePaymentForOrders()
S
63 4 10
deleteSubscriptionFromPending()
S
72 4 5
addPaypalTransactionIdToOrder()
S
61 3 13
getPaymentObjectOrder()
S
61 3 10
getPhoneNumber()
S
67 3 7
getPaymentObjectPayment()
S
62 3 10
setActiveMolliePaymentForOrders()
S
62 2 12
unsetActiveMolliePayment()
S
71 2 6
billingCompanyField()
S
70 2 6
replaceTagsDescription()
S
66 2 7
setActiveMolliePayment()
S
71 2 6
unsetCancelledMolliePaymentId()
S
64 2 10
getWebhookUrl()
S
61 1 11
getReturnUrl()
S
61 1 11
appendOrderArgumentsToUrl()
S
73 1 4
informNotUpdatingStatus()
S
65 1 8
isFinalOrderStatus()
S
74 1 4
deleteSubscriptionOrderFromPendingPaymentQueue()
S
75 1 4
addSequenceTypeFirst()
S
91 1 2
__construct()
S
64 1 10
isOrderPaymentStartedByOtherGateway()
S
74 1 4
hasActiveMollieOrder()
S
75 1 4
customerId()
S
81 1 3
getPaymentObject()
S
81 1 3
getPaymentRequestData()
S
91 1 2
unsetActiveMolliePaymentForSubscriptions()
S
69 1 7
getActiveMolliePaymentId()
S
74 1 4
getActiveMollieOrderId()
S
74 1 4
getActiveMolliePaymentMode()
S
74 1 4
hasActiveMolliePayment()
S
75 1 4
setCancelledMolliePaymentId()
S
70 1 6
setOrderPaidAndProcessed()
S
73 1 5
getCancelledMolliePaymentId()
S
74 1 4
hasCancelledMolliePayment()
S
75 1 4
getMolliePaymentIdFromPaymentObject()
S
91 1 2
getMollieCustomerIdFromPaymentObject()
S
91 1 2
onWebhookPaid()
S
91 1 2
onWebhookCanceled()
S
91 1 2
data()
S
82 1 3
onWebhookExpired()
S
91 1 2
refund()
S
91 1 2
onWebhookFailed()
S
91 1 2